package com.zd.entity;

import java.util.Date;

public class User {
	private int userId;//用户Id
	private String userNickName;//用户昵称
	private String userPass;//用户密码
	private String userPhone;//用户手机号码
	private int ExpValue;//用户经验等级
	private int status;//登陆状态
	private Date risgterTime;//注册时间
	private int admin;//是否是管理员
	private int vip;//是否是VIP
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserNickName() {
		return userNickName;
	}
	public void setUserNickName(String userNickName) {
		this.userNickName = userNickName;
	}
	public String getUserPass() {
		return userPass;
	}
	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}
	public String getUserPhone() {
		return userPhone;
	}
	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}
	public int getExpValue() {
		return ExpValue;
	}
	public void setExpValue(int expValue) {
		ExpValue = expValue;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Date getRisgterTime() {
		return risgterTime;
	}
	public void setRisgterTime(Date risgterTime) {
		this.risgterTime = risgterTime;
	}
	public int getAdmin() {
		return admin;
	}
	public void setAdmin(int admin) {
		this.admin = admin;
	}
	public int getVip() {
		return vip;
	}
	public void setVip(int vip) {
		this.vip = vip;
	}
	public User(int userId, String userNickName, String userPass, String userPhone, int expValue, int status,
			Date risgterTime, int admin, int vip) {
		super();
		this.userId = userId;
		this.userNickName = userNickName;
		this.userPass = userPass;
		this.userPhone = userPhone;
		ExpValue = expValue;
		this.status = status;
		this.risgterTime = risgterTime;
		this.admin = admin;
		this.vip = vip;
	}
	public User(String userNickName, String userPass, String userPhone, int expValue, int status, Date risgterTime,
			int admin, int vip) {
		super();
		this.userNickName = userNickName;
		this.userPass = userPass;
		this.userPhone = userPhone;
		ExpValue = expValue;
		this.status = status;
		this.risgterTime = risgterTime;
		this.admin = admin;
		this.vip = vip;
	}
	public User() {
		super();
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userNickName=" + userNickName + ", userPass=" + userPass + ", userPhone="
				+ userPhone + ", ExpValue=" + ExpValue + ", status=" + status + ", risgterTime=" + risgterTime
				+ ", admin=" + admin + ", vip=" + vip + "]";
	}
	
}
